package com.ruoyi.hr.mapper.welfare.tsgjj;

import com.ruoyi.hr.domain.Authority;
import com.ruoyi.hr.domain.welfare.tsgjj.Tsgjj;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TsgjjMapper {
    List<Tsgjj> findTsgjj(@Param("tsgjj") Tsgjj tsgjj, @Param("authorities") List<Authority> authorities, @Param("isAdmin") int isAdmin);

    Tsgjj findTsgjjById(int id);

    Map<String, Object> findEmpInfo(String badge);

    int insertTsgjj(Tsgjj tsgjj);

    int updateTsgjj(Tsgjj tsgjj);

    int deleteTsgjjById(String id);
}
